package com.finance.cooperate.strategy.service;

import com.finance.cooperate.common.pojo.RestResult;
import com.finance.cooperate.strategy.common.dto.StrategyInfoAndWeightDTO;
import com.finance.cooperate.strategy.common.params.StrategyParams;

/**
 * @InterfaceName StrategyInfoService
 * @Description 策略服务
 * @Author shenanxin
 * @Date 2023/8/23 15:52
 * @Modify ...
 */
public interface StrategyInfoService {



    /**
     * @Author shen
     * @Description 查找同组所有策略
     * @Date 16:53 2022/10/20
     * @Param [group]
     * @return com.finance.cooperate.strategy.common.dto.StrategyInfoAndWeightDTO
     **/
    StrategyInfoAndWeightDTO findAllStrategyInfoAndWeightByGroup(String group);



    /**
     * @Author shen
     * @Description 策略执行主入口
     * @Date 12:38 2022/10/22
     * @Param [params]
     * @return com.finance.cooperate.common.pojo.RestResult
     **/
    RestResult strategy(StrategyParams params);


}
